package com.ebelter.btlibrary.btble.impl.wristband;

import com.ebelter.btlibrary.btble.ble.bluetooth.device.impl.BleCommandEditor;
import com.ebelter.btlibrary.btble.impl.scale.model.ScaleCommand;
import com.ebelter.btlibrary.util.ULog;

/**
 * 手环指令编辑器实现层
 * Created by Sergio Pan on 2017/12/8.
 */

public class WristbandCommondEditor extends BleCommandEditor {

    private static final String TAG = "WristbandCommondEditor";

    private static WristbandCommondEditor instance = new WristbandCommondEditor();

    private WristbandCommondEditor() {
    }

    public static WristbandCommondEditor getInstance() {
        return instance;
    }



    @Override
    protected void onReceiveCommand(Object command) {
        ScaleCommand scaleCommand = (ScaleCommand) command;
        ULog.i(TAG, "-------onReceiveCommand-------scaleCommand = " + scaleCommand);
    }


}
